package com.situ.day7;

import org.junit.Test;

public class OOPDemo {

    @Test
    public void test1() {
        Person person = new Person();
        person.id = 1;
    }

    @Test
    public void test2() {
        Student student = new Student(1, "zhgangsa", 23, "JavaScript403");
        System.out.println(student.toString());//com.situ.day7.Student@d7b1517
        System.out.println(student);

    }
}
